package com.ty.common.log.logbackAdvice;

import ch.qos.logback.classic.spi.LoggingEvent;
import ch.qos.logback.core.FileAppender;

/**
 * @描述:
 * @Author: TangYuan
 * @Date: 2025/8/19 15:39
 */
public class TyFileAppender extends FileAppender<LoggingEvent> {

    @Override
    protected void subAppend(LoggingEvent event) {

        new DesensitizationAppender().operation(event);
        super.subAppend(event);
    }
}